import React from "react";
import ReactDOM from "react-dom";
// import App from "./App";
import App from "./Routes";
import "./index.less";
import "./style.css";
import store from "@/store/index";
import { Provider } from "react-redux";
import { history } from "@/store";
import { ConnectedRouter } from "connected-react-router";

ReactDOM.render(
  <React.Fragment>
    <Provider store={store}>
      <ConnectedRouter history={history}>
        <App />
      </ConnectedRouter>
    </Provider>
  </React.Fragment>,
  document.getElementById("root")
);
